package com.joysuch.wwyt.mh.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zero
 * @since 2021/11/26 16:39
 */
@Data
public class MonitorWebSocketInspectAlarmData implements Serializable {
    
    @ApiModelProperty("风险点id")
    private Long riskPointId;
    
    @ApiModelProperty("风险点名称")
    private String riskPointName;

    @ApiModelProperty("报警信息id")
    private Long alarmMessageId;

    @ApiModelProperty("报警信息")
    private String alarmMessage;

    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmMessageTime;

    @ApiModelProperty("ALL 所有报警  ADD 产生报警  HANDLE 处理报警")
    private String flagType;

    private String orgCode;
    private Long tenentId;

    //中心点
    private Long floorId;
    private Double x;
    private Double y;
    private Double z;
}
